﻿using Bigger.Demo.DbModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Bigger.Demo.DomainModels
{
    /// <summary>
    /// 订单领域模型
    /// </summary>
    public class OrderDto
    {
        /// <summary>
        /// 订单编号
        /// </summary>
        public int OrderId { get; set; }
        /// <summary>
        /// 用户编号
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 订单创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 商品信息
        /// </summary>
        public IList<PruductModel> Pruducts { get; set; }
        /// <summary>
        /// 订单总金额
        /// </summary>
        public decimal TotalAmt { get; set; }
    }
}
